<?php
/**
 * Created by PhpStorm.
 * User: kamlyli
 * Date: 2017/7/28
 * Time: 19:43
 */

namespace app\api\controller\v1;

use think\Request;


class Index
{

    public function index(Request $request)
    {
        $data = [
            'auth' => 'kamly',
            'date' => '17/8/5'
        ];
        return json_info($data);
    }

	public function create(Request $request){
		// $data = $request->param();
		$data['age'] = '10';
		$data['team']['name'] = 'kamly';
		return json_info($data);
	}
}
